﻿using System.Runtime.InteropServices;

namespace MyWordAddIn
{
    /// <summary>
    /// 封包
    /// </summary>
    [StructLayout(LayoutKind.Auto)]
    public class Packet
    {
        /// <summary>
        /// 封包类型
        /// </summary>
        //public PacketType Type { get; set; }

        ///// <summary>
        ///// 数据
        ///// </summary>
        //public byte[] Data { get; set; }

        public string userName { get; set; }

        public string ip = "";

        public int port;

        public int fd;

    }
}
